package igloo.aws;

public enum Region
{
    US_EAST_1("glacier.us-east-1.amazonaws.com", "US East (Northern Varginia)"),
    US_WEST_2("glacier.us-west-2.amazonaws.com",
            "US West (Northern California)"),
    US_WEST_1("glacier.us-west-1.amazonaws.com", "US West (Oregon)"),
    EU("glacier.eu-west-1.amazonaws.com", "EU (Ireland)"),
    ASIA("glacier.ap-northeast-1.amazonaws.com", "Asia Pacific (Tokyo)");

    private String mEndpoint;
    private String mDescription;

    private Region(String endpoint, String desc)
    {
        mEndpoint = endpoint;
        mDescription = desc;
    }

    public String getEndpoint()
    {
        return mEndpoint;
    }

    public String getDescription()
    {
        return mDescription;
    }

    @Override
    public String toString()
    {
        return getDescription();
    }
}
